package org.csu.mybigpro.DTO;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

public class PlagiarismReportDto {
    @JsonProperty("fileA")
    private String fileA;

    @JsonProperty("fileB")
    private String fileB;

    @JsonProperty("overallScore")
    private double overallScore;

    @JsonProperty("justification")
    private String justification;

    @JsonProperty("similarityDetails")
    private List<SimilarityDetailDto> similarityDetails;

    public PlagiarismReportDto(String fileA, String fileB, double overallScore, String justification, List<SimilarityDetailDto> similarityDetails) {
        this.fileA = fileA;
        this.fileB = fileB;
        this.overallScore = overallScore;
        this.justification = justification;
        this.similarityDetails = similarityDetails;
    }

    // Getters and Setters
    public String getFileA() { return fileA; }
    public void setFileA(String fileA) { this.fileA = fileA; }
    public String getFileB() { return fileB; }
    public void setFileB(String fileB) { this.fileB = fileB; }
    public double getOverallScore() { return overallScore; }
    public void setOverallScore(double overallScore) { this.overallScore = overallScore; }
    public String getJustification() { return justification; }
    public void setJustification(String justification) { this.justification = justification; }
    public List<SimilarityDetailDto> getSimilarityDetails() { return similarityDetails; }
    public void setSimilarityDetails(List<SimilarityDetailDto> similarityDetails) { this.similarityDetails = similarityDetails; }
}